package com.neusoft.feign;
import com.neusoft.core.User;
import org.springframework.stereotype.Component;
import com.neusoft.core.CommonResult;

@Component
public class UserFeignClientCallBack implements UserFeignClient{

    @Override
    public CommonResult<User> getUserByIdByPass(String userId, String password) {
        return new CommonResult<>(403,"fegin触发了熔断降级",new User());
    }

    @Override
    public void updateUserTypeByUserId(User user) {
        return;
    }
}
